﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace org.xisoft.game.utils
{
    public class TimeStopwatch : IDisposable
    {
        private readonly Stopwatch stopwatch = Stopwatch.StartNew();
        public void Dispose()
        {
            stopwatch.Stop();
            Debug.WriteLine("" + stopwatch.Elapsed);
        }
    }
}
